import request from "@/utils/request.js";

export function search_user_goods(data) {
    return request({
        API_URL: '/jcmarket/index/search_user_goods',
        data
    });
}

export function search_goods(data) {
    return request({
        API_URL: '/jcmarket/index/search_goods',
        data
    });
}

export function ad_list(data) {
    return request({
        API_URL: '/jcmarket/index/ad_list',
        data
    });
}

export function cate_list(data) {
    return request({
        API_URL: '/jcmarket/index/cate_list',
        data
    });
}

export function cate_list_all(data) {
    return request({
        API_URL: '/jcmarket/index/cate_list_all',
        data
    });
}

export function dianpu_list(data) {
    return request({
        API_URL: '/jcmarket/index/dianpu_list',
        data
    });
}

export function street_type(data) {
    return request({
        API_URL: '/jcmarket/index/street_type',
        data
    });
}

export function supplier_list(data) {
    return request({
        API_URL: '/jcmarket/index/supplier_list',
        data
    });
}

export function street_list(data) {
    return request({
        API_URL: '/jcmarket/index/street_list',
        data
    });
}